home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / developm / source / ncsat.cpt / Telnet2.5 final / tcpip / userd.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-04-05  |  2.4 KB  |  133 lines

  1. extern int Mnetread            /* BYU 2.4.16 */
  2.   (                            /* BYU 2.4.16 */
  3.     int pnum,                /* BYU 2.4.16 */
  4.     char *buffer,            /* BYU 2.4.16 */
  5.     int n                    /* BYU 2.4.16 */
  6.   );                        /* BYU 2.4.16 */
  7.  
  8. extern int Mnetwrite        /* BYU 2.4.16 */
  9.   (                            /* BYU 2.4.16 */
  10.     int pnum,                /* BYU 2.4.16 */
  11.     char *buffer,            /* BYU 2.4.16 */
  12.     int n                    /* BYU 2.4.16 */
  13.   );                        /* BYU 2.4.16 */
  14.  
  15. extern int Mnetpush            /* BYU 2.4.16 */
  16.   (                            /* BYU 2.4.16 */
  17.     int pnum                /* BYU 2.4.16 */
  18.   );                        /* BYU 2.4.16 */
  19.  
  20. extern int Mnetqlen            /* BYU 2.4.16 */
  21.   (                            /* BYU 2.4.16 */
  22.     int pnum                /* BYU 2.4.16 */
  23.   );                        /* BYU 2.4.16 */
  24.  
  25. extern int Mnetroom            /* BYU 2.4.16 */
  26.   (                            /* BYU 2.4.16 */
  27.     int pnum                /* BYU 2.4.16 */
  28.   );                        /* BYU 2.4.16 */
  29.  
  30. extern int Mnetgetip        /* BYU 2.4.16 */
  31.   (                            /* BYU 2.4.16 */
  32.     unsigned char *st        /* BYU 2.4.16 */
  33.   );                        /* BYU 2.4.16 */
  34.  
  35. extern int Mnetest            /* BYU 2.4.16 */
  36.   (                            /* BYU 2.4.16 */
  37.     int pnum                /* BYU 2.4.16 */
  38.   );                        /* BYU 2.4.16 */
  39.  
  40. extern int Mnetlisten        /* BYU 2.4.16 */
  41.   (                            /* BYU 2.4.16 */
  42.     uint serv                /* BYU 2.4.16 */
  43.   );                        /* BYU 2.4.16 */
  44.  
  45. extern Mnetgetftp            /* BYU 2.4.16 */
  46.   (                            /* BYU 2.4.16 */
  47.     int a[],                /* BYU 2.4.16 */
  48.     int pnum                /* BYU 2.4.16 */
  49.   );                        /* BYU 2.4.16 */
  50.  
  51. #if 0                        /* BYU 2.4.16 */
  52. extern void netconfig
  53.   (
  54.     char *hardware
  55.   );
  56. #endif                        /* BYU 2.4.16 */
  57.  
  58. extern int Mnetinit            /* BYU 2.4.16 */
  59.   (
  60.     void
  61.   );
  62.  
  63. extern int Mnetgetip        /* BYU 2.4.16 */
  64.   (
  65.     unsigned char *st
  66.   );
  67.  
  68. extern int netgetrarp
  69.   (
  70.     void
  71.   );
  72.  
  73. extern void netsetip
  74.   (
  75.     unsigned char *st
  76.   );
  77.  
  78. #if 0                            /* BYU 2.4.16 */
  79. extern void netarpme
  80.   (
  81.     char *s
  82.   );
  83. #endif                            /* BYU 2.4.16 */
  84.  
  85. extern int Mnetxopen            /* BYU 2.4.16 */
  86.   (
  87.     uint32 *machine,
  88.     uint service,
  89.     uint rto,
  90.     uint mtu,
  91.     uint mseg,
  92.     uint mwin
  93.   );
  94.  
  95. extern void Mnetusend            /* BYU 2.4.16 */
  96.   (
  97.     unsigned char *machine,
  98.     unsigned int port,
  99.     unsigned int retport,
  100.     unsigned char *buffer,
  101.     int n
  102.   );
  103.  
  104. extern int Mnetulisten            /* BYU 2.4.16 */
  105.   (
  106.     int port
  107.   );
  108.  
  109. extern int Mneturead            /* BYU 2.4.16 */
  110.   (
  111.     char *buffer
  112.   );
  113.  
  114. extern int Mnetclose            /* BYU 2.4.16 */
  115.   (
  116.     int pnum
  117.   );
  118.  
  119. extern void Mnetshut            /* BYU 2.4.16 */
  120.   (                                /* BYU 2.4.16 */
  121.     void                        /* BYU 2.4.16 */
  122.   );                            /* BYU 2.4.16 */
  123.  
  124. extern int Mnetopen2            /* BYU 2.4.16 */
  125.   (
  126.     int pnum
  127.   );
  128.  
  129. extern void neteventinit
  130.   (
  131.     void
  132.   );
  133.